import { createBrowserRouter } from 'react-router-dom'
import Layout from './pages/Layout'
import Login from './pages/Login'
import Privacy from './pages/Privacy'

const router = createBrowserRouter([
  {
    path: '/login',
    element: <Login></Login>,
  },
  {
    path: '/',
    element: <Layout></Layout>,
  },
  {
    path: 'privacy',
    element: <Privacy></Privacy>,
  },
])

export default router
